﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using l1cs.server.model.Instance;
using l1cs.server.serverpackets;

namespace l1cs.server.clientpackets
{
    public class C_CheckPK : ClientBasePacket
    {
        private const String _C_CHECK_PK = "[C] C_CheckPK";
        private static Logger _log = Logger.getLogger( typeof( C_CheckPK ).FullName );

        public C_CheckPK( byte[] abyte0, ClientThread clientthread )
            : base( abyte0 )
        {

            L1PcInstance player = clientthread.getActiveChar();
            player.sendPackets( new S_ServerMessage( 562, Convert.ToString( player
                    .get_PKcount() ) ) ); // 現在のPK回数は%0です。
        }

        override
        public String getType()
        {
            return _C_CHECK_PK;
        }
    }
}